/*
 * @Description: Student
 * @Author: rendc
 * @Date: 2025-03-18 09:48:43
 * @LastEditors: rendc
 * @LastEditTime: 2025-03-18 11:32:30
 */

import java.io.Serializable;

public class Student implements Serializable {

  private String id;
  private String name;
  private int age;

  // 提供构造器
  public Student() {
  }

  public Student(String id, String name, int age) {
    this.id = id;
    this.name = name;
    this.age = age;
  }

  // 重写toString
  @Override
  public String toString() {
    return "[Student]id:" + id + ",name:" + name + ",age:" + age;
  }

}